package com.winning.sjzc.common.utils;

/**
 * @ClassName : Util
 * @Description : 工具类
 * @Author : zhanglei
 * @Date : 2019/6/12 9:44
 **/
public class Util {

    /**
     * @Author zhanglei
     * @Description 验证参数
     * @Date 9:44 2019/6/12
     * @Param [params]
     * @return boolean
     **/
    public static boolean validateParams(final String... params) {
        boolean validateFlag = true;
        for (String param : params) {
            if (null == param  || "".equals(param) || "undefined".equals(param)) {
                validateFlag = false;
                break;
            }
        }
        return validateFlag;
    }
}
